/*
 * @Description:
 * @version:
 * @Author: 潘骏杰
 * @Date: 2021-11-22 16:23:06
 * @LastEditors: 潘骏杰
 * @LastEditTime: 2022-01-24 13:57:44
 */

import request from '@/utils/request'
import qs from 'qs'
// import CryptoJS from '@/utils/CryptoJS'

export function get(data) {
  return request({
    url: '',
    method: 'get',
    params: data
  })
}

export function post(data) {
  return request({
    url: '',
    method: 'post',
    data: qs.stringify(data)
  })
}

// 查询门急诊就诊记录列表
export function PostQueryInOutPatientRecords(params) {
  return request({
    url: '/api/record/queryInOutPatientRecords',
    method: 'post',
    data: params
  })
}

// 查询检查检验简单列表
export function PostQueryInspectionSimpleResultList(params) {
  return request({
    url: '/api/record/queryInspectionSimpleResultList',
    method: 'post',
    data: params
  })
}

// 查询检查报告列表
export function PostQueryExaminationReports(params) {
  return request({
    url: '/api/record/queryExaminationReports',
    method: 'post',
    data: params
  })
}

// 查询检验结果明细列表
export function PostQueryInspectionDetails(params) {
  return request({
    url: '/api/record/queryInspectionDetails',
    method: 'post',
    data: params
  })
}
